#include <iostream>
#include <cstdio>
using namespace std;
int main(){
	int x;
	cin>>x;
	cout<<x<<" "<<x*10;
	return 0;
}
